import request from "./http";

// 获取用户详情
export function getUserinfo(params) {
    return request({
        url: "/user/detail",
        method: "get",
        params
    })
}

//获取账号信息
export function getAccount(params) {
    return request({
        url: "/user/account",
        method: "get",
        params
    })
}

//获取用户歌单

export function getplaylist(params) {
    return request({
        url: "/user/playlist",
        method: "get",
        params:{
            limit:10,
            ...params
        }
    })
}